package com.impl;

import com.entities.StudentInfo;
import com.interfaces.IStudentDao;

/**
 * Created by li_wb on 2017/12/15.
 */
public class StudentDaoImpl implements IStudentDao {
    @Override
    public StudentInfo getById(long id) {
        StudentInfo tmp = new StudentInfo();
        tmp.setNo(id);
        tmp.setScore(100);
        System.out.println("服务名=" + this.getClass().getName());
        return tmp;
    }

    @Override
    public StudentInfo add(StudentInfo entity) {
        return null;
    }
}
